<?php
error_reporting(E_ERROR);
require_once '../config/cmd.php';


$CMD_KEYS  = array_values($CMD_ARR['front']);

// $cmd = isset($_REQUEST['cmd']) && in_array($_REQUEST['cmd'], $CMD_KEYS) ? $_REQUEST['cmd'] : 'main';
$cmd = isset($_REQUEST['cmd']) && in_array($_REQUEST['cmd'], $CMD_KEYS) ? $_REQUEST['cmd'] : 'category';
define('CMD', $cmd);
unset($cmd);

require_once '../modules/front/front.php';

?>
